//
//  Orderheader.h
//  phmall
//
//  Created by  on 2017/9/8.
//  Copyright © 2017年 admin. All rights reserved.
#define Button_Origin_Tag 78

#import <UIKit/UIKit.h>

@interface Orderheader : UIView

//外部决定有多少模块
@property (nonatomic,strong) NSArray * items;
//内部选中某一个模块，传递给外部
@property (nonatomic,copy) void(^itemClickAtIndex)(NSInteger index);

//由外部决定选中哪一个模块
-(void)setSelectAtIndex:(NSInteger)index;
-(void)buttonClick:(UIButton*)button;
@end
